﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SupportingMaterialEdit.ascx.cs" Inherits="MockPrjTeam4.Pages.Forms.SupportingMaterialEdit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Import Namespace="MockPrjTeam4.Entity" %>   
<style type="text/css">
    .wrap
    {
        width: 870px;   
        margin-left: 50px;
        margin-top: 50px;
        }
    .title
    {
        color: Blue; 
        font-weight: bold; 
        font-size: x-large;
        margin-bottom: 20px;
        }
    .txt
    {
        width: 200px;
        }
    .btn
    {
        float: right;
        display: inline;
    }
</style>
<div class="wrap" runat="Server">
    <div class="title">
        Supporting Material Details
    </div>
    <div class="btn">
        <asp:Button ID="btnSaveSupporting" runat="server" Text="Save" 
            onclick="btnSaveSupporting_Click"/>&nbsp
        <asp:Button ID="btnBackSupporting" runat="Server" Text="Back" 
            onclick="btnBackSupporting_Click"/>
    </div>
    <asp:ScriptManager runat="Server" ID="sm"></asp:ScriptManager>
        <asp:TabContainer ID="tcDetailSupporting" runat="server" width="870px" BorderColor="Black">
            <asp:TabPanel runat="Server" ID="tpDetailSupporting">
                <HeaderTemplate><span style="font-weight: bold">Details</span></HeaderTemplate>
                <ContentTemplate>
                    <table border="0" cellspacing="2px" cellpadding="4px" width="100%">
                    	<tr>
                    		<td>URL<span style="color:red">*</span></td>
                            <td>
                                <asp:TextBox ID="txtURL" runat="Server" CssClass="txt"></asp:TextBox>
                            </td>
                            <td>Added By</td>
                            <td>
                                <asp:DropDownList ID="ddlAddedBy" runat="Server" Enabled="false" CssClass="txt"
                                DataTextField="Account" DataValueField="UserId"></asp:DropDownList>
                            </td>
                    	</tr>
                        <tr>
                            <td>Description</td>
                            <td>
                                <asp:TextBox ID="txtDes" runat="Server" Height="90px"
                                CssClass="txt"></asp:TextBox>
                            </td>
                            <td valign="top">Added Date</td>
                            <td valign="top">
                                <asp:TextBox ID="txtAddedDate" runat="Server" CssClass="txt" ReadOnly="true"
                                Enabled="false"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>Type</td>
                            <td>
                                <asp:TextBox ID="txtType" runat="Server" CssClass="txt"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Label ID="lblMessage" runat="Server" ForeColor="red" Font-Bold="true"
                                Font-Size="Larger"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:TabPanel>
        </asp:TabContainer>
</div>
